<include file="Public/header"/>
<div class="wrapper m-t">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <a class="h3 font-bold">订单列表【生产中】</a>
        </div>
        <div class="ibox-content">

            <table class="table table-striped b-t b-light text-sm table-bordered">
                <thead>
                <tr>
                    <th width="10 "><input type="checkbox"></th>
                    <th>ID</th>
                    <th>订单号</th>
                    <th>姓名</th>
                    <th>区域</th>
                    <th>经销商</th>
                    <th>电话</th>
                    <th>状态</th>

                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <volist name="_list" id="vo" key="k">
                    <tr>
                        <td><input type="checkbox" name="post[]" value="{$vo.id}"></td>
                        <td>{$vo.rid}</td>
                        <td>{$vo.order_number}</td>
                        <td>{$vo.username}</td>
                        <td>{$vo.area_name}</td>
                        <td>{$vo.company_name}</td>
                        <td>{$vo.mobile_phone}</td>

                        <td>
                            <if condition="$vo.status eq 1">
                                生产中
                                <elseif condition="$vo.status eq 0"/>
                                未审核
                                <else/>
                                禁用
                            </if>
                        </td>

                        <td>
                            <a href="{:U('Orders/underwayOrderDetail?rid='.$vo['rid'])}" class="text-info">详情</a>&nbsp;&nbsp;
                            <a target="_blank" href="{:U('Orders/printInfo?rid='.$vo['rid'])}">打印</a>
                            <a target="_blank" href="{:U('Orders/changeOrder?rid='.$vo['rid'])}">更新状态</a>
                            <a target="_blank" href="{:U('Orders/updatework?rid='.$vo['rid'])}">修改工序</a>
                        </td>
                    </tr>
                </volist>
                </tbody>
            </table>
            <div class="page">{$_page}</div>
        </div>
    </div>
</div>
<include file="Public/footer"/>